﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="maptest.aspx.cs" Inherits="travel_hotels_maptest" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
    <style type="text/css">
        html
        {
            height: 100%;
        }
        body
        {
            height: 100%;
            margin: 0;
            padding: 0;
        }
        #map_canvas
        {
            height: 100%;
        }
    </style>

    <%--<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=AIzaSyCKuLKZvy09z9OUUYzCGGiFFVsPcPYgS9Y&sensor=false"></script>--%>
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> 
    <script type="text/javascript">


        function initialize() {
            var latlng = new google.maps.LatLng(40.7562008, -73.9903784);
            var settings = {
                zoom: 17,
                center: latlng,
                mapTypeId: google.maps.MapTypeId.ROADMAP
            };
            var map = new google.maps.Map(document.getElementById("map_canvas"), settings);
        }
      
        // window.onload = loadScript;
    </script>

</head>
<body onload="initialize()">
    <form id="form1" runat="server">
    test map
    <div id="map_canvas" style="width:800px; height:500px">
    </div>
  <%--<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" 
  src="http://maps.google.com.sg/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=Marina+Bay+Sands+Bayfront+Avenue&amp;aq=0&amp;oq=marina+bay+sand&amp;sll=1.359,103.818&amp;sspn=0.38304,0.617294&amp;ie=UTF8&amp;hq=Marina+Bay+Sands+Bayfront+Avenue&amp;t=m&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe>--%>
 
    </form>
</body>
</html>
